-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update updates to use propel orm #6867
Conversation
c5027c3
to
6ffe7a7
Compare
Looks good so far |
Ya that sounds good |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with a lot of this, but I did look over it and added some comments/questions.
->setText(InputUtils::filterHTML($sEventText)) | ||
->setStart(InputUtils::legacyFilterInput($sEventStart)) | ||
->setEnd(InputUtils::legacyFilterInput($sEventEnd)) | ||
->setInActive(InputUtils::legacyFilterInput($iEventStatus)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
less important, but it seems in this case it should be setInactive, as the 'In' is not a fully separate word.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, just using what was already set up to not scope creep - https://github.com/ChurchCRM/CRM/blob/master/propel/schema.xml#L506
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we wanted to open an Issue to potentially change the schema, to have consistent camelCase .... should we consider an additional TEMPLATE type in ISSUE_TEMPLATES? Maybe something like CodeCleanup? This wouldn't really be a bug, though I guess it could be argued to be a feature -- even though it shouldn't have any impact.
Also, do you know offhand if updating the schema (with name-format changes) would have any ripple effects? Or should everything just be properly auto-generated from that? And I haven't tried to find out what actually does that code generation, but it looks like all the files in the model/ChurchCRM/Base dir are being generated, so hopefully just changing schema is adequate.
e79a3b0
to
d3d7d23
Compare
Description & Issue number it closes
Screenshots (if appropriate)
How to test the changes?
Type of change
How Has This Been Tested?
Checklist: